package Promotion;

import PO.GoodsconversionsPO;
import VO.GoodsconversionsVO;

public class Goodsconversions {
	long id;
	double perconsumption;
	double fixedpoints;
	
	public Goodsconversions(GoodsconversionsVO vo){
		id=vo.getID();
		perconsumption=vo.getPerconsumption();
		fixedpoints=vo.getFixedpoints();
	}
	
	public Goodsconversions(GoodsconversionsPO po){
		id=po.getID();
		perconsumption=po.getPerconsumption();
		fixedpoints=po.getFixedpoints();
	}
	public long getID(){
		return id;
	}
	public double getPerconsumption(){
		return perconsumption;
	}
	public double getFixedpoints(){
		return fixedpoints;
	}
		
	public void setInfo(GoodsconversionsVO vo){
		id=vo.getID();
		perconsumption=vo.getPerconsumption();
		fixedpoints=vo.getFixedpoints();
	}

}
